package cn.sample.module.controller;

import com.github.yitter.idgen.YitIdHelper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <h2></h2>
 *
 * <p></p>
 *
 * @author HKD
 */
@RestController
@RequestMapping("/public")
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "Hello Security Sample："+ YitIdHelper.nextId();
    }

}
